﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhao.Models.AppletDto
{
    public class AppActivitiesDto
    {
        /// <summary>
        /// 活动id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 活动标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 最大参与限制人数
        /// </summary>
        public int? MaxNumber { get; set; }
        /// <summary>
        /// 活动详细描述
        /// </summary>
        public string Detailed { get; set; }
        /// <summary>
        /// 详情时间
        /// </summary>
        public string Date {  get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public TimeOnly STime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public TimeOnly ETime { get; set; }
        /// <summary>
        /// 活动状态
        /// </summary>
        public int Stasus { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        public List<Infos> infos { get; set; }
        public string VName { get; set; }
        public string VIamge { get; set; }
        public string FielTypeName { get; set; }
        public int SunNumber { get; set; }
        public short PriceType { get; set; }
        public decimal? DepositAmount { get; set; }
        public bool IsLadyDiscountEnabled { get; set; }
        public short? LadyDiscountType { get; set; }
        public decimal? LadyDiscountValue { get; set; }
        public string CancelReason { get; set; }
        public string AIamge { get; set; }
    }

    public class Infos
    {
        /// <summary>
        /// 用户名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string image { get; set; }
        /// <summary>
        /// 用户报名人数
        /// </summary>
        public int number { get; set; }
        /// <summary>
        /// 用户性别
        /// </summary>
        public int sex { get; set; }
        /// <summary>
        /// 是否为当前用户
        /// </summary>
        public bool isCurrentUser { get; set; }
        /// <summary>
        /// 男生人数
        /// </summary>
        public int maleNumber { get; set; }
        /// <summary>
        /// 女生人数
        /// </summary>
        public int femaleNumber { get; set; }
    }
}
